gsk: Add check on GL_MAX_TEXTURE_SIZE
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 26 Oct 2016 14:47:29 +0000 (15:47 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 26 Oct 2016 14:49:28 +0000 (15:49 +0100)
commite161f9eba332a85027f165e4a7cd7c641db8aaa4
treec1d27219832d6ba71501891c3cd504bfba6df022
parent42a5608af624c1509a57781bca909c188b15506f
gsk: Add check on GL_MAX_TEXTURE_SIZE

We should check (once) what's the maximum GL texture size and then use
that size to check when we create any GL texture, to avoid errors.
gsk/gskgldriver.c
gsk/gskgldriverprivate.h